package com.example.administrator.myapplication.dagger.app;

import android.content.Context;
import android.widget.Toast;

/**
 * @author chenliangzhi
 * @date 2018/3/27
 * @describe
 */

public class ToastUtil {
    private Context mContext;

    public ToastUtil(Context context) {
        mContext = context;
    }

    public void showToast(String msg) {
        Toast.makeText(mContext, msg, Toast.LENGTH_SHORT).show();
    }
}
